﻿using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JoeyLibs.Utility.Log
{
    /// <summary>
    /// 调试信息的日志实体
    /// </summary>
    public class DebugLogModel : LogModel
    {
        protected override ILog Log
        {
            get
            {
                return GetLogger("DebugLogger");
            }
        }

        public DebugLogModel(string message)
            : base(message)
        {
        }

        public override void Output()
        {
            Log.Debug(LogUtility.GetOutputString(LogUtility.MESSAGE_TITLE, base.Message));
        }
    }
}
